package com.example.springboot_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot_system.pojo.Department;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> findAll();

    Department findByCode(int parseInt);


}
